package com.cqfan.cloud.office.console;

import com.dtflys.forest.callback.AddressSource;
import com.dtflys.forest.http.ForestAddress;
import com.dtflys.forest.http.ForestRequest;
import lombok.Data;
import org.springframework.context.annotation.Configuration;

/**
 * @author JiaLing.Fan
 * @version 1.0
 * @date 2023/10/11 13:36
 * @description RemoteProperties
 */
@Data
@Configuration
public class OfficeRemoteProperties implements AddressSource {


    private String basePath;

    private String token;

    private String scheme;

    private String host;

    private int port;

    @Override
    public ForestAddress getAddress(ForestRequest forestRequest) {
        return new ForestAddress("http" , "192.168.0.206" , 8218 , "/converter");
    }


}
